/*
* @Date: 2021/1/22
* @Author: XueChengwu <xuechengwu@erayt.com>
* @Copyright: 2015-2019 Erayt, Inc.
* @Description: If you have some questions, please contact: xuechengwu@erayt.com.
*/

export default {
  display: 'inline-block',
  props: [{
    key: 'allowClear',
    type: 'boolean',
    label: '清除',
  }, {
    key: 'allowHalf',
    type: 'boolean',
    label: '半选',
  }, {
    key: 'autoFocus',
    type: 'boolean',
    label: '自动焦点',
  }, {
    key: 'count',
    type: 'number',
    label: '数量',
  }, {
    key: 'defaultValue',
    type: 'number',
    label: '默认值',
  }, {
    key: 'disabled',
    type: 'boolean',
    label: '只读',
  }, {
    key: 'tooltips',
    type: 'array',
    label: '提示信息',
  }, {
    key: 'value',
    type: 'number',
    label: '当前数',
  }, {
    key: 'onBlur',
    type: 'function',
    function: '()',
    label: '失焦回调',
  }, {
    key: 'onChange',
    type: 'function',
    function: '(value)',
    label: '变化回调',
  }, {
    key: 'onFocus',
    type: 'function',
    function: '()',
    label: '获焦回调',
  }, {
    key: 'onHoverChange',
    type: 'function',
    function: '(value)',
    label: 'Hover回调',
  }, {
    key: 'onKeyDown',
    type: 'function',
    function: '(e)',
    label: '按键回调',
  }]
}
